<!--
 * @Author: humengchuan 531537052@qq.com
 * @Date: 2023-12-27 11:14:31
 * @LastEditors: humengchuan 531537052@qq.com
 * @LastEditTime: 2024-06-24 18:02:37
 * @FilePath: \project\node-project\website-admin\src\App.vue
 * @Description: 
-->
<script setup lang="ts">
// import HelloWorld from './components/HelloWorld.vue'
// import axios from 'axios'
// const getTestInfo = async () => {
//   const result = await axios.post('/api/admin/user/login', {
//     username: 'admin',
//     password: 123456
//   })
//   console.log('%c [ result ]-14', 'font-size:13px; background:pink; color:#bf2c9f;', result)
// }

// const getTestMessage = async () => {
//   const result = await axios.get('/api/admin/user/info')
//   console.log('%c [ result ]-14', 'font-size:13px; background:pink; color:#bf2c9f;', result)
// }
</script>

<template>
  <div>
    <router-view />
  </div>
  <!-- <div>
    <a href="https://vitejs.dev" target="_blank">
      <img src="/vite.svg" class="logo" alt="Vite logo" />
    </a>
    <a href="https://vuejs.org/" target="_blank">
      <img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
    </a>
  </div>
  <HelloWorld msg="Vite + Vue" />
  <div class="getInfp" @click="getTestInfo()">按钮</div>
  <div class="getInfp mr-t-20" @click="getTestMessage()">获取信息</div> -->
</template>

<style scoped lang="scss">
// .getInfp {
//   width: 300px;
//   height: 40px;
//   line-height: 40px;
//   border-radius: 4px;
//   border: 1px solid #f5f5f5;
//   text-align: center;
//   font-size: 16px;
//   background-color: aquamarine;
// }

// .mr-t-10 {
//   margin-top: 20px;
// }

// .logo {
//   height: 6em;
//   padding: 1.5em;
//   will-change: filter;
//   transition: filter 300ms;
// }

// .logo:hover {
//   filter: drop-shadow(0 0 2em #646cffaa);
// }

// .logo.vue:hover {
//   filter: drop-shadow(0 0 2em #42b883aa);
// }
</style>
